package co.edu.usbcali.sgi.modelo.control;

import co.edu.usbcali.sgi.modelo.Reserva;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * interface ReservaLogic
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IReservaLogic {
    public List<Reserva> getReserva() throws Exception;

    public void saveReserva(String resCod, Date resFecha, Date resHoraFinal,
        Date resHoraInicio, String estCod_Estado,
        String proInmCod_PropietarioInmueble, String zcCod_ZonaComun)
        throws Exception;

    public void deleteReserva(String resCod) throws Exception;

    public void updateReserva(String resCod, Date resFecha, Date resHoraFinal,
        Date resHoraInicio, String estCod_Estado,
        String proInmCod_PropietarioInmueble, String zcCod_ZonaComun)
        throws Exception;

    public Reserva getReserva(String resCod) throws Exception;

    public List<Reserva> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Reserva> findPageReserva(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberReserva() throws Exception;
}
